{layout file="layout" block="body:__BODY__,footer:__FOOTER__"}


{block name="body"}

    {for name="users" index="index" value="user"}
        <div>{user['userid']}</div>
        <div>{user['realName']}</div>
        <div>{:user['realName']|safe}</div>
    {/for}

{/block}

{block name="footer"}

    {for name="users" index="index" value="user"}
        <div>{user['userid']}</div>
        <div>{user['realName']}</div>
        <div>{:user['realName']|safe}</div>
    {/for}

{/block}

<!-- 直接调用footer block -->
{call name="footer"}


